package p3;

/**
 * @author krystal
 * @date 2022/11/9 19:17
 */
public class Demo5 {
    public static void main(String[] args) {
        int i = 1;
        int sum = 0;
        while (i <= 100){
            sum += i;
            i++;
        }
        System.out.println(sum);
    }
}
